package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物料需求原料对象 mes_needmat
 * 
 * @author ruoyi
 * @date 2024-06-01
 */
public class MesNeedmat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 物料需求单编号 */
    @Excel(name = "物料需求单编号")
    private String needId;

    /** 需采购原料编码 */
    @Excel(name = "需采购原料编码")
    private String matId;

    /** 需采购原料数量 */
    @Excel(name = "需采购原料数量")
    private Long needMatNum;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setNeedId(String needId) 
    {
        this.needId = needId;
    }

    public String getNeedId() 
    {
        return needId;
    }
    public void setMatId(String matId) 
    {
        this.matId = matId;
    }

    public String getMatId() 
    {
        return matId;
    }
    public void setNeedMatNum(Long needMatNum) 
    {
        this.needMatNum = needMatNum;
    }

    public Long getNeedMatNum() 
    {
        return needMatNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("needId", getNeedId())
            .append("matId", getMatId())
            .append("needMatNum", getNeedMatNum())
            .toString();
    }
}
